﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddorEditUsers.aspx.cs"
    Inherits="kim.AddorEditUsers" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>管理员添加</title>
    <link rel="stylesheet" type="text/css" href="../img/style.css" />
    <script type="text/javascript">
        $(function () {
            //表单验证JS
            $("#form1").validate({
                //出错时添加的标签
                errorElement: "span",
                success: function (label) {
                    //正确时的样式
                    label.text(" ").addClass("success");
                }
            });
            //显示关闭高级选项
            $("#upordown").toggle(function () {
                $(this).text("关闭高级选项");
                $(this).removeClass();
                $(this).addClass("up-01");
                $(".upordown").show();
            }, function () {
                $(this).text("显示高级选项");
                $(this).removeClass();
                $(this).addClass("up-02");
                $(".upordown").hide();
            });
        });
    </script>
</head>
<body style="padding: 10px;">
    <form id="form1" runat="server">
    <div class="navigation">
        <b>您当前的位置：首页 &gt; 会员管理 &gt;管理员添加 </b>
    </div>
    <div style="padding-bottom: 10px;">
    </div>
    <input type="hidden" id="n" runat="server" />
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
        <tr>
            <th colspan="2" align="left">
                管理员添加
            </th>
        </tr>
        <tr>
            <td width="15%" align="right">
                会员名：
            </td>
            <td width="85%">
                <input id="txtName" type="text" runat="server" width="200px" class="input required"
                    datatype="*3-50" nullmsg="请输入会员名称！" errormsg="请填写会员名，至少3个字符，小于50个字符，如“admin”。" />
            </td>
        </tr>
        <tr runat="server" id="pwd">
            <td width="15%" align="right">
                密 码：
            </td>
            <td width="85%">
                <input id="txtPwd" type="password" runat="server" width="200px" name="userpassword"
                    class="input required" datatype="*3-50" nullmsg="输入密  码！" errormsg="请填写会员名，至少3个字符，小于50个字符，如“admin”。" />
            </td>
        </tr>
        <tr runat="server" id="pwd1">
            <td width="15%" align="right">
                重复密 码：
            </td>
            <td width="85%">
                <input id="txtPwd2" type="password" runat="server" width="200px" class="input required"
                    name="userpassword2" datatype="*3-50" nullmsg="输入重复密码！" recheck="userpassword"
                    errormsg="您两次输入的账号密码不一致！" />
            </td>
        </tr>
        <tr>
            <td width="15%" align="right">
                状态：
            </td>
            <td width="85%">
                <asp:CheckBox ID="CBs" runat="server" Checked="true" />
            </td>
        </tr>
    </table>
    <div style="margin-top: 10px; text-align: center;">
        <asp:Button ID="btnSave" runat="server" Text="确认保存" CssClass="submit" OnClick="btnSave_Click" />
        &nbsp; &nbsp;&nbsp;<asp:Label ID="lbmsg" runat="server" Text="" ForeColor="Red"></asp:Label>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </div>
    </form>
    <script src="../Js/jquery-1.7.1.min.js" type="text/javascript"></script>
    <script src="../Js/Validform_v5.3_min.js" type="text/javascript"></script>
    <script type="text/javascript">
        $("#form1").Validform();
    </script>
</body>
</html>
